#coding=utf-8
import base64
cols='123456789abcdefghijkmnopqrstuvwx'

str=b'qiuyu.mkv'

enstr=base64.b32encode(str)

print (enstr)

index=1
result=''

for i in enstr:
    if i==65:
        result=result+'L'
    if i==66:
        result=result+'M'        
    if i==67:
        result=result+'N'                
    if i==68:
        result=result+'O'                        
    if i==69:
        result=result+'P'        
    if i==70:
        result=result+'Q'        
    if i==71:
        result=result+'R'
    if i==72:
        result=result+'S'        
    if i==73:
        result=result+'T'                
    if i==74:
        result=result+'U'                        
    if i==75:
        result=result+'V'        
    if i==76:
        result=result+'W'                
    if i==77:
        result=result+'X'
    if i==78:
        result=result+'Y'        
    if i==79:
        result=result+'Z'                
    if i==80:
        result=result+'2'                        
    if i==81:
        result=result+'3'        
    if i==82:
        result=result+'4'        
    if i==83:
        result=result+'5'
    if i==84:
        result=result+'6'        
    if i==85:
        result=result+'7'                
    if i==86:
        result=result+'A'
    if i==87:
        result=result+'B'        
    if i==88:
        result=result+'C'
    if i==89:
        result=result+'D'        
    if i==90:
        result=result+'E'
    if i==50:
        result=result+'F'        
    if i==51:
        result=result+'G'        
    if i==52:
        result=result+'H'        
    if i==53:
        result=result+'I'        
    if i==54:
        result=result+'J'                
    if i==55:
        result=result+'K'                        
    if i==61:
        result=result+'_'+'D'       
        index=index+1
print (result)

#print (base64.b32decode(enstr))